        <div class="layui-card">
          <div class="layui-card-body">
                 <form class="layui-form" lay-filter="J_ajaxForm" action="{:url('login/index')}" method="post">

            <div class="layui-form-item">
              <label class="layui-form-label">用户名</label>
              <div class="layui-input-inline">
                <input type="text" name="username" value="" lay-verify="required" autocomplete="off" class="layui-input">
              </div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">密码</label>
              <div class="layui-input-inline">
                <input type="password" name="password" value="" lay-verify="required" autocomplete="off" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux"><a href="">找回密码</a></div>
            </div>

             <div class="layui-form-item">
              <label class="layui-form-label">验证码</label>
              <div class="layui-input-inline">
                <input type="text" name="vcode" value="" lay-verify="required" autocomplete="off" class="layui-input">
              </div>
            </div>

             <div class="layui-form-item">
              <label class="layui-form-label"></label>
              <div class="layui-input-inline">
                <img id="imgcode" src="{:captcha_src()}" alt="captcha" width="100%"/>
              </div>
              <div class="layui-form-mid layui-word-aux"><a href="javascript:;" class="updatecode" style="color: #105cb6;">换一个</a></div>
            </div>
            
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="J_ajax_submit_btn">登录</button>
                <span style="color: #fc4343;"></span>
              </div>
            </div>
            
            <input type="hidden" name="u" value="http://open.wenda.com/">
          </form>
          </div>
        </div>